package com.itheima.mapper;

import com.itheima.pojo.Clazzs;
import com.itheima.pojo.PageBody;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClazzsMapper {


    List<Clazzs> findAllByPage(String name, String begin, String end);
    List<Clazzs> findAll();

    void saveClazzs(Clazzs clazzs);

    Clazzs findClazzsById(Integer id);

    void updateClazzById(Clazzs clazzs);

    void deleteById(Integer id);
}
